﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;

namespace BUS
{
    public class NhienLieuBus
    {
        public int LayMa()
        {

            NhienLieuDao nlDao = new NhienLieuDao();
            return nlDao.LayMa();
        }
        public void CapNhienLieu(CAPNHIENLIEU NL)
        {
            NhienLieuDao nlDao = new NhienLieuDao();
            nlDao.CapNhienLieu(NL);
        }
        public IEnumerable<CAPNHIENLIEU> CapNhienLieu()
        {
            NhienLieuDao nlDao = new NhienLieuDao();
            return nlDao.CapNhienLieu();
        }
    }
}
